package com.mbc.rmt.entities;

import java.util.List;
import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class CashPaymentBySent implements Serializable{
	
	private long cashPaymentBySent_id;
	private String slip_code;
	private long staff_id;
	private String staff_code;
	private String staff_name;
	private Date date;
	private String time;
	private long receivedBranch_id;
	private String receivedBranch_code;
	private Long agent_id;
	private String agent_code;
	private String agent_name;
	private Long paidBranch_id;
	private String paidBranch_code;
	private double paymentAmount;
	
	private List<CashPaymentBySentDetail> cashPaymentBySentDetailList;
	
	public List<CashPaymentBySentDetail> getCashPaymentBySentDetailList() {
		return cashPaymentBySentDetailList;
	}

	public void setCashPaymentBySentDetailList(
			List<CashPaymentBySentDetail> cashPaymentBySentDetailList) {
		this.cashPaymentBySentDetailList = cashPaymentBySentDetailList;
	}

	public void setPaymentAmount(double paymentAmount) {
		this.paymentAmount = paymentAmount;
	}

	public CashPaymentBySent(){
		clearProperties();
	}

	private void clearProperties() {
		cashPaymentBySent_id = 0;
		slip_code = "";
		staff_code = "";
		date = new Date();
		time = "";
		receivedBranch_code = "";
		agent_code = "";
		agent_name = "";
		paidBranch_code = "";
		paymentAmount = 0.0;
		staff_id = 0;
		staff_name = "";
		receivedBranch_id = 0;
		agent_id = null;
		paidBranch_id = null;
		paymentAmount = 0.0;
		cashPaymentBySentDetailList = null;
		
	}

	public long getCashPaymentBySent_id() {
		return cashPaymentBySent_id;
	}

	public void setCashPaymentBySent_id(long cashPaymentBySent_id) {
		this.cashPaymentBySent_id = cashPaymentBySent_id;
	}

	public String getSlip_code() {
		return slip_code;
	}

	public void setSlip_code(String slip_code) {
		this.slip_code = slip_code;
	}

	public long getStaff_id() {
		return staff_id;
	}

	public void setStaff_id(long staff_id) {
		this.staff_id = staff_id;
	}

	public String getStaff_code() {
		return staff_code;
	}

	public void setStaff_code(String staff_code) {
		this.staff_code = staff_code;
	}

	public String getStaff_name() {
		return staff_name;
	}

	public void setStaff_name(String staff_name) {
		this.staff_name = staff_name;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public long getReceivedBranch_id() {
		return receivedBranch_id;
	}

	public void setReceivedBranch_id(long receivedBranch_id) {
		this.receivedBranch_id = receivedBranch_id;
	}

	public String getReceivedBranch_code() {
		return receivedBranch_code;
	}

	public void setReceivedBranch_code(String receivedBranch_code) {
		this.receivedBranch_code = receivedBranch_code;
	}

	public Long getAgent_id() {
		return agent_id;
	}

	public void setAgent_id(Long agent_id) {
		this.agent_id = agent_id;
	}

	public String getAgent_code() {
		return agent_code;
	}

	public void setAgent_code(String agent_code) {
		this.agent_code = agent_code;
	}

	public String getAgent_name() {
		return agent_name;
	}

	public void setAgent_name(String agent_name) {
		this.agent_name = agent_name;
	}

	public Long getPaidBranch_id() {
		return paidBranch_id;
	}

	public void setPaidBranch_id(Long paidBranch_id) {
		this.paidBranch_id = paidBranch_id;
	}

	public String getPaidBranch_code() {
		return paidBranch_code;
	}

	public void setPaidBranch_code(String paidBranch_code) {
		this.paidBranch_code = paidBranch_code;
	}

	public double getPaymentAmount() {
		return paymentAmount;
	}

}
